import pygame,sys
from pygame.locals import *
from defines import *

class screen:
    def __init__(self):
        pygame.init()        
        self.windowSurface = pygame.display.set_mode((WINDOWWIDTH, WINDOWHEIGHT))
        
    def update(self):        
        pygame.display.update()
        self.windowSurface.fill(BACKGROUNDCOLOR)   
        
    def BlitToSurface(self,image, rect):
        self.windowSurface.blit(image,rect)
